﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HelperFromTheSkeleton.Model.WebSocketModels
{
    public class BaseEventModel
    {
        private string? _eventName;

        public string EventName
        {
            get
            {
                if (string.IsNullOrWhiteSpace(_eventName))
                {
                    _eventName = GetType().Name;
                }
                return _eventName;
            }
            set
            {
                _eventName = value;
            }
        }


        public string Token { get; set; } = string.Empty;
    }
}
